<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('get_language_id'))
{
	function get_language_id($curLang)
	{
               switch ($curLang) {
                case 'mk':
                    return 1;
                    break;
                case 'en':
                    return 2;
                    break;
                case 'al':
                    return 3;
                    break;
                default:
                    return 1;
                    break;
            }
        }
}

if ( ! function_exists('get_language_short_txt'))
{
	function get_language_short_txt($lang_id)
	{
               switch ($lang_id) {
                case 1:
                    return 'mk';
                    break;
                case 2:
                    return 'en';
                    break;
                case 3:
                    return 'al';
                    break;
                default:
                    return 'mk';
                    break;
            }
        }
}
